<template>
  <div>
    <div class="n-layout-page-header">
      <n-card :bordered="false" title="工作台">
        <n-grid cols="2 s:1 m:1 l:2 xl:2 2xl:2" responsive="screen">
          <n-gi>
            <div class="flex items-center">
              <div>
                <n-avatar circle :size="64" :src="schoolboy" />
              </div>
              <div>
                <p class="px-4 text-xl">早安，{{ username }}，开始您一天的工作吧！</p>
                <p class="px-4 text-gray-400"
                >今日大盘大雨，短线情绪107°C， 市场情绪95°C，上证指数2.14%</p
                >
              </div>
            </div>
          </n-gi>

          <n-gi>
            <div class="flex justify-end w-full">
              <div class="flex flex-1 flex-col justify-center text-right">
                <span class="text-secondary">上证指数</span>
                <span class="text-2xl">2.14%</span>
              </div>
              <div class="flex flex-1 flex-col justify-center text-right">
                <span class="text-secondary">深圳成指</span>
                <span class="text-2xl">2.48%</span>
              </div>
              <div class="flex flex-1 flex-col justify-center text-right">
                <span class="text-secondary">创业板指</span>
                <span class="text-2xl">2.11%</span>
              </div>
            </div>
          </n-gi>
        </n-grid>
      </n-card>
      <n-card :bordered="false">
        <n-tabs type="line" animated>
          <n-tab-pane name="admin" tab="短线情绪">
            <EmotionChart ref="emotionChartRef" :data-model="dataSource.emotion" />
          </n-tab-pane>
          <n-tab-pane name="api" tab="异动看盘">
            <AbnormalMovementChart
                ref="abnormalMovementChartRef"
                :data-model="dataSource.abnormalMovement"
            />
          </n-tab-pane>
          <n-tab-pane name="home" tab="总龙情绪">
            <ZLEmotionChart ref="zlEmotionChartRef" :data-model="dataSource.ZLEmotion" />
          </n-tab-pane>
          <n-tab-pane name="static" tab="涨停跌停">
            <Form path="/addons/hgexample/default" />
          </n-tab-pane>
          <n-tab-pane name="websocket" tab="上涨下跌">
            <Form path="/socket/hgexample/index/test?name=HotGo" :showQrcode="false" />
          </n-tab-pane>
          <n-tab-pane name="websocket" tab="涨跌分布">
            <Form path="/socket/hgexample/index/test?name=HotGo" :showQrcode="false" />
          </n-tab-pane>
          <n-tab-pane name="websocket" tab="两市量能">
            <Form path="/socket/hgexample/index/test?name=HotGo" :showQrcode="false" />
          </n-tab-pane>
          <n-tab-pane name="websocket" tab="北向分时">
            <Form path="/socket/hgexample/index/test?name=HotGo" :showQrcode="false" />
          </n-tab-pane>
          <n-tab-pane name="websocket" tab="北向净量">
            <Form path="/socket/hgexample/index/test?name=HotGo" :showQrcode="false" />
          </n-tab-pane>
          <n-tab-pane name="websocket" tab="昨涨停表现">
            <Form path="/socket/hgexample/index/test?name=HotGo" :showQrcode="false" />
          </n-tab-pane>
          <n-tab-pane name="websocket" tab="连板情绪">
            <Form path="/socket/hgexample/index/test?name=HotGo" :showQrcode="false" />
          </n-tab-pane>
        </n-tabs>
      </n-card>
    </div>
    <n-grid class="mt-4" cols="2 s:1 m:1 l:2 xl:2 2xl:2" responsive="screen" :x-gap="12" :y-gap="9">
      <n-gi>
        <n-card
            :segmented="{ content: true }"
            content-style="padding: 0;"
            :bordered="false"
            size="small"
            title="项目"
        >
          <div class="flex flex-wrap project-card">
            <n-card
                size="small"
                class="cursor-pointer project-card-item ms:w-1/2 md:w-1/3"
                hoverable
            >
              <div class="flex">
                <span>
                  <n-icon size="30">
                    <GithubOutlined />
                  </n-icon>
                </span>
                <span class="text-lg ml-4">Github</span>
              </div>
              <div class="flex mt-2 h-10 text-gray-400">
                是一个面向开源及私有软件项目的托管平台。
              </div>
              <div class="flex mt-2 h-10 text-gray-400"> 开源君，2021-07-04</div>
            </n-card>
            <n-card
                size="small"
                class="cursor-pointer project-card-item ms:w-1/2 md:w-1/3"
                hoverable
            >
              <div class="flex">
                <span>
                  <n-icon size="30" color="#42b983">
                    <LogoVue />
                  </n-icon>
                </span>
                <span class="text-lg ml-4">Vue</span>
              </div>
              <div class="flex mt-2 h-10 text-gray-400"> 渐进式 JavaScript 框架</div>
              <div class="flex mt-2 h-10 text-gray-400"> 学不动也要学，2021-07-04</div>
            </n-card>
            <n-card
                size="small"
                class="cursor-pointer project-card-item ms:w-1/2 md:w-1/3"
                hoverable
            >
              <div class="flex">
                <span>
                  <n-icon size="30" color="#e44c27">
                    <Html5Outlined />
                  </n-icon>
                </span>
                <span class="text-lg ml-4">Html5</span>
              </div>
              <div class="flex mt-2 h-10 text-gray-400"> HTML5是互联网的下一代标准。</div>
              <div class="flex mt-2 h-10 text-gray-400"> 撸码也是一种艺术 2021-04-01</div>
            </n-card>
            <n-card
                size="small"
                class="cursor-pointer project-card-item ms:w-1/2 md:w-1/3"
                hoverable
            >
              <div class="flex">
                <span>
                  <n-icon size="30" color="#dd0031">
                    <LogoAngular />
                  </n-icon>
                </span>
                <span class="text-lg ml-4">Angular</span>
              </div>
              <div class="flex mt-2 h-10 text-gray-400"> 现代 Web 开发平台，百万粉丝热捧。</div>
              <div class="flex mt-2 h-10 text-gray-400"> 铁粉君 2021-07-04。</div>
            </n-card>
            <n-card
                size="small"
                class="cursor-pointer project-card-item ms:w-1/2 md:w-1/3"
                hoverable
            >
              <div class="flex">
                <span>
                  <n-icon size="30" color="#61dafb">
                    <LogoReact />
                  </n-icon>
                </span>
                <span class="text-lg ml-4">React</span>
              </div>
              <div class="flex mt-2 h-10 text-gray-400"> 用于构建用户界面的 JavaScript 库。</div>
              <div class="flex mt-2 h-10 text-gray-400"> 技术牛 2021-07-04。</div>
            </n-card>
            <n-card
                size="small"
                class="cursor-pointer project-card-item ms:w-1/2 md:w-1/3"
                hoverable
            >
              <div class="flex">
                <span>
                  <n-icon size="30">
                    <LogoJavascript />
                  </n-icon>
                </span>
                <span class="text-lg ml-4">Js</span>
              </div>
              <div class="flex mt-2 h-10 text-gray-400"> 路是走出来的，而不是空想出来的。</div>
              <div class="flex mt-2 h-10 text-gray-400"> 架构组 2021-07-04</div>
            </n-card>
          </div>
        </n-card>

        <n-card
            :segmented="{ content: true }"
            content-style="padding-top: 0;padding-bottom: 0;"
            :bordered="false"
            size="small"
            title="动态"
            class="mt-4"
        >
          <template #header-extra><a href="javascript:">更多</a></template>
          <n-list>
            <n-list-item>
              <template #prefix>
                <n-avatar circle :size="40" :src="schoolboy" />
              </template>
              <n-thing :title="username + '，刚才把工作台页面随便写了一些，凑合能看了！'">
                <template #description
                ><p class="text-xs text-gray-500">2021-07-04 22:37:16</p></template
                >
              </n-thing>
            </n-list-item>
            <n-list-item>
              <template #prefix>
                <n-avatar circle :size="40" :src="schoolboy" />
              </template>
              <n-thing :title="username + ' 在 开源组 创建了项目 hotGo？'">
                <template #description
                ><p class="text-xs text-gray-500">2021-07-04 09:37:16</p></template
                >
              </n-thing>
            </n-list-item>
            <n-list-item>
              <template #prefix>
                <n-avatar circle :size="40" :src="schoolboy" />
              </template>
              <n-thing title="@It界风清扬，向hotGo提交了一个bug，抽时间看看吧！">
                <template #description
                ><p class="text-xs text-gray-500">2021-07-04 22:37:16</p></template
                >
              </n-thing>
            </n-list-item>
            <n-list-item>
              <template #prefix>
                <n-avatar circle :size="40" :src="schoolboy" />
              </template>
              <n-thing title="技术部那几位童鞋，再次警告，不要摸鱼，不要摸鱼，不要摸鱼啦！">
                <template #description
                ><p class="text-xs text-gray-500">2021-07-04 09:37:16</p></template
                >
              </n-thing>
            </n-list-item>
            <n-list-item>
              <template #prefix>
                <n-avatar circle :size="40" :src="schoolboy" />
              </template>
              <n-thing title="上班不摸鱼，和咸鱼有什么区别（这话真不是我说的哈）！">
                <template #description
                ><p class="text-xs text-gray-500">2021-07-04 20:37:16</p></template
                >
              </n-thing>
            </n-list-item>
            <n-list-item>
              <template #prefix>
                <n-avatar circle :size="40" :src="schoolboy" />
              </template>
              <n-thing title="页面切换其实也支持缓存，只是加了过度效果，看起来像是重新渲染了">
                <template #description>
                  <p class="text-gray-400">
                    <n-input type="text" placeholder="不信，输点文字试试" />
                  </p>
                </template>
              </n-thing>
            </n-list-item>
          </n-list>
        </n-card>
      </n-gi>
      <n-gi>
        <n-card
            :segmented="{ content: true }"
            content-style="padding: 0;"
            :bordered="false"
            size="small"
            title="快捷操作"
        >
          <div class="flex flex-wrap project-card">
            <n-card size="small" class="cursor-pointer project-card-item" hoverable>
              <div class="flex flex-col justify-center text-gray-500">
                <span class="text-center">
                  <n-icon size="30" color="#68c755">
                    <DashboardOutlined />
                  </n-icon>
                </span>
                <span class="text-lx text-center">主控台</span>
              </div>
            </n-card>
            <n-card size="small" class="cursor-pointer project-card-item" hoverable>
              <div class="flex flex-col justify-center text-gray-500">
                <span class="text-center">
                  <n-icon size="30" color="#fab251">
                    <ProfileOutlined />
                  </n-icon>
                </span>
                <span class="text-lx text-center">列表</span>
              </div>
            </n-card>
            <n-card size="small" class="cursor-pointer project-card-item" hoverable>
              <div class="flex flex-col justify-center text-gray-500">
                <span class="text-center">
                  <n-icon size="30" color="#1890ff">
                    <FileProtectOutlined />
                  </n-icon>
                </span>
                <span class="text-lx text-center">表单</span>
              </div>
            </n-card>
            <n-card size="small" class="cursor-pointer project-card-item" hoverable>
              <div class="flex flex-col justify-center text-gray-500">
                <span class="text-center">
                  <n-icon size="30" color="#f06b96">
                    <ApartmentOutlined />
                  </n-icon>
                </span>
                <span class="text-lx text-center">权限管理</span>
              </div>
            </n-card>
            <n-card size="small" class="cursor-pointer project-card-item" hoverable>
              <div class="flex flex-col justify-center text-gray-500">
                <span class="text-center">
                  <n-icon size="30" color="#7238d1">
                    <SettingOutlined />
                  </n-icon>
                </span>
                <span class="text-lx text-center">系统管理</span>
              </div>
            </n-card>
            <n-card size="small" class="cursor-pointer project-card-item" hoverable>
              <div class="flex flex-col justify-center text-gray-500">
                <span class="text-center">
                  <n-icon size="30" color="">
                    <DashboardOutlined />
                  </n-icon>
                </span>
                <span class="text-lx text-center">主控台</span>
              </div>
            </n-card>
          </div>
        </n-card>
        <n-card :segmented="{ content: true }" :bordered="false" size="small" class="mt-4">
          <img src="~@/assets/images/Business.svg" class="w-full" />
        </n-card>
      </n-gi>
    </n-grid>
  </div>
</template>

<script lang="ts" setup>
import schoolboy from '@/assets/images/schoolboy.png';
import { useUserStore } from '@/store/modules/user';
import {
  ApartmentOutlined,
  DashboardOutlined,
  FileProtectOutlined,
  GithubOutlined,
  Html5Outlined,
  ProfileOutlined,
  SettingOutlined,
} from '@vicons/antd';
import { LogoAngular, LogoJavascript, LogoReact, LogoVue } from '@vicons/ionicons5';
import EmotionChart from '@/views/dashboard/workplace/tabs/EmotionChart.vue';
import { ref } from 'vue';
import AbnormalMovementChart from '@/views/dashboard/workplace/tabs/AbnormalMovementChart.vue';
import ZLEmotionChart from '@/views/dashboard/workplace/tabs/ZLEmotionChart.vue';

const userStore = useUserStore();
const username = userStore.info.username;
const emotionJson = `{"list":[{"id":410,"date":"2024-04-17","sh_rate":2.14,"qingxu":"高潮期","lbqingxu":"","long_name":"同为股份","long_code":"002835","top_num":235,"continue_top_num":9,"bottom_num":0,"zhuxian":["飞行汽车\\/eVTOL","新能源汽车","业绩增长","东数西算\\/算力"],"stock_day_top":"4天4板"},{"id":409,"date":"2024-04-16","sh_rate":-1.65,"qingxu":"冰点期","lbqingxu":"","long_name":"同为股份","long_code":"002835","top_num":19,"continue_top_num":4,"bottom_num":663,"zhuxian":["业绩增长","中字头","家电"],"stock_day_top":"3天3板"},{"id":408,"date":"2024-04-15","sh_rate":1.26,"qingxu":"冰点期","lbqingxu":"","long_name":"建设机械","long_code":"600984","top_num":25,"continue_top_num":3,"bottom_num":242,"zhuxian":["业绩增长","中字头"],"stock_day_top":"4天4板"},{"id":407,"date":"2024-04-12","sh_rate":-0.49,"qingxu":"修复期","lbqingxu":"","long_name":"莱绅通灵","long_code":"603900","top_num":58,"continue_top_num":11,"bottom_num":9,"zhuxian":["石油化工","黄金","家电","业绩增长"],"stock_day_top":"9天9板"},{"id":406,"date":"2024-04-11","sh_rate":0.23,"qingxu":"冰点期","lbqingxu":"","long_name":"莱绅通灵","long_code":"603900","top_num":48,"continue_top_num":7,"bottom_num":12,"zhuxian":["机械","核污染防治","人工智能大模型","火电"],"stock_day_top":"8天8板"},{"id":405,"date":"2024-04-10","sh_rate":-0.7,"qingxu":"冰点期","lbqingxu":"","long_name":"莱绅通灵","long_code":"603900","top_num":29,"continue_top_num":7,"bottom_num":16,"zhuxian":["固态电池","智能制造","黄金"],"stock_day_top":"7天7板"},{"id":404,"date":"2024-04-09","sh_rate":0.05,"qingxu":"修复期","lbqingxu":"","long_name":"莱绅通灵","long_code":"603900","top_num":60,"continue_top_num":5,"bottom_num":11,"zhuxian":["固态电池","锂电池","业绩增长","医药"],"stock_day_top":"6天6板"},{"id":403,"date":"2024-04-08","sh_rate":-0.72,"qingxu":"冰点期","lbqingxu":"","long_name":"莱绅通灵","long_code":"603900","top_num":55,"continue_top_num":9,"bottom_num":28,"zhuxian":["无人驾驶","大消费","电力体制改革","黄金"],"stock_day_top":"5天5板"},{"id":402,"date":"2024-04-03","sh_rate":-0.18,"qingxu":"退潮期","lbqingxu":"","long_name":"联明股份","long_code":"603006","top_num":47,"continue_top_num":15,"bottom_num":9,"zhuxian":["有色金属","黄金","大消费","半导体"],"stock_day_top":"7天7板"},{"id":401,"date":"2024-04-02","sh_rate":-0.08,"qingxu":"降温期","lbqingxu":"","long_name":"华生科技","long_code":"605180","top_num":61,"continue_top_num":21,"bottom_num":6,"zhuxian":["有色金属","染料","固态电池","飞行汽车\\/eVTOL"],"stock_day_top":"9天9板"},{"id":400,"date":"2024-04-01","sh_rate":1.19,"qingxu":"升温期","lbqingxu":"","long_name":"华生科技","long_code":"605180","top_num":79,"continue_top_num":18,"bottom_num":6,"zhuxian":["固态电池","液晶面板\\/LCD","有色金属","锂电池"],"stock_day_top":"8天8板"},{"id":399,"date":"2024-03-29","sh_rate":1.01,"qingxu":"降温期","lbqingxu":"","long_name":"华生科技","long_code":"605180","top_num":66,"continue_top_num":13,"bottom_num":7,"zhuxian":["5G","飞行汽车\\/eVTOL","小米汽车","智慧灯杆"],"stock_day_top":"7天7板"},{"id":398,"date":"2024-03-28","sh_rate":0.59,"qingxu":"高潮期","lbqingxu":"","long_name":"宁科生物","long_code":"600165","top_num":76,"continue_top_num":11,"bottom_num":2,"zhuxian":["飞行汽车\\/eVTOL","智慧灯杆","东数西算\\/算力","新能源汽车"],"stock_day_top":"7天7板"},{"id":397,"date":"2024-03-27","sh_rate":-1.26,"qingxu":"冰点期","lbqingxu":"","long_name":"宁科生物","long_code":"600165","top_num":44,"continue_top_num":12,"bottom_num":37,"zhuxian":["房地产","飞行汽车\\/eVTOL","大消费","新能源汽车"],"stock_day_top":"6天6板"},{"id":396,"date":"2024-03-26","sh_rate":0.17,"qingxu":"退潮期","lbqingxu":"","long_name":"宁科生物","long_code":"600165","top_num":61,"continue_top_num":15,"bottom_num":11,"zhuxian":["锂电池","房地产","飞行汽车\\/eVTOL","固态电池"],"stock_day_top":"5天5板"},{"id":395,"date":"2024-03-25","sh_rate":-0.71,"qingxu":"退潮期","lbqingxu":"","long_name":"博信股份","long_code":"600083","top_num":42,"continue_top_num":13,"bottom_num":27,"zhuxian":["房地产","飞行汽车\\/eVTOL","国产芯片","小米汽车"],"stock_day_top":"13天7板"},{"id":394,"date":"2024-03-22","sh_rate":-0.95,"qingxu":"退潮期","lbqingxu":"","long_name":"博信股份","long_code":"600083","top_num":59,"continue_top_num":16,"bottom_num":10,"zhuxian":["飞行汽车\\/eVTOL","人工智能大模型","铜缆高速连接器","房地产"],"stock_day_top":"12天7板"},{"id":393,"date":"2024-03-21","sh_rate":-0.08,"qingxu":"高潮期","lbqingxu":"","long_name":"艾艾精工","long_code":"603580","top_num":71,"continue_top_num":24,"bottom_num":3,"zhuxian":["飞行汽车\\/eVTOL","人工智能大模型","养猪","新能源汽车"],"stock_day_top":"13天13板"},{"id":392,"date":"2024-03-20","sh_rate":0.55,"qingxu":"升温期","lbqingxu":"","long_name":"艾艾精工","long_code":"603580","top_num":81,"continue_top_num":24,"bottom_num":0,"zhuxian":["飞行汽车\\/eVTOL","新能源汽车","医药","人工智能大模型"],"stock_day_top":"12天12板"},{"id":391,"date":"2024-03-19","sh_rate":-0.72,"qingxu":"降温期","lbqingxu":"","long_name":"艾艾精工","long_code":"603580","top_num":64,"continue_top_num":15,"bottom_num":0,"zhuxian":["新能源汽车","无人驾驶","飞行汽车\\/eVTOL","交换机"],"stock_day_top":"11天11板"},{"id":390,"date":"2024-03-18","sh_rate":0.99,"qingxu":"高潮期","lbqingxu":"","long_name":"艾艾精工","long_code":"603580","top_num":85,"continue_top_num":20,"bottom_num":1,"zhuxian":["新能源汽车","飞行汽车\\/eVTOL","智能制造","医药"],"stock_day_top":"10天10板"},{"id":389,"date":"2024-03-15","sh_rate":0.54,"qingxu":"修复期","lbqingxu":"","long_name":"艾艾精工","long_code":"603580","top_num":71,"continue_top_num":18,"bottom_num":1,"zhuxian":["智能制造","环保","飞行汽车\\/eVTOL","新能源汽车"],"stock_day_top":"9天9板"},{"id":388,"date":"2024-03-14","sh_rate":-0.18,"qingxu":"退潮期","lbqingxu":"","long_name":"艾艾精工","long_code":"603580","top_num":41,"continue_top_num":8,"bottom_num":2,"zhuxian":["医药","房地产","环保","大消费"],"stock_day_top":"8天8板"},{"id":387,"date":"2024-03-13","sh_rate":-0.4,"qingxu":"退潮期","lbqingxu":"","long_name":"立航科技","long_code":"603261","top_num":57,"continue_top_num":16,"bottom_num":0,"zhuxian":["新能源汽车","游戏","信创","飞行汽车\\/eVTOL"],"stock_day_top":"7天7板"},{"id":386,"date":"2024-03-12","sh_rate":-0.41,"qingxu":"升温期","lbqingxu":"","long_name":"立航科技","long_code":"603261","top_num":75,"continue_top_num":18,"bottom_num":0,"zhuxian":["飞行汽车\\/eVTOL","医药","大消费","新能源汽车"],"stock_day_top":"6天6板"},{"id":385,"date":"2024-03-11","sh_rate":0.74,"qingxu":"修复期","lbqingxu":"","long_name":"安彩高科","long_code":"600207","top_num":84,"continue_top_num":20,"bottom_num":1,"zhuxian":["锂电池","光伏","东数西算\\/算力","智能制造"],"stock_day_top":"5天5板"},{"id":384,"date":"2024-03-08","sh_rate":0.61,"qingxu":"退潮期","lbqingxu":"","long_name":"安彩高科","long_code":"600207","top_num":63,"continue_top_num":13,"bottom_num":2,"zhuxian":["光伏","国产芯片","东数西算\\/算力","医药"],"stock_day_top":"4天4板"},{"id":383,"date":"2024-03-07","sh_rate":-0.41,"qingxu":"退潮期","lbqingxu":"","long_name":"文投控股","long_code":"600715","top_num":66,"continue_top_num":17,"bottom_num":3,"zhuxian":["智能制造","高铁轨交","有色金属","大消费"],"stock_day_top":"11天7板"},{"id":382,"date":"2024-03-06","sh_rate":-0.26,"qingxu":"修复期","lbqingxu":"","long_name":"安奈儿","long_code":"002875","top_num":84,"continue_top_num":15,"bottom_num":0,"zhuxian":["智能制造","eVTOL飞行器","光伏","东数西算\\/算力"],"stock_day_top":"7天7板"},{"id":381,"date":"2024-03-05","sh_rate":0.28,"qingxu":"退潮期","lbqingxu":"","long_name":"安奈儿","long_code":"002875","top_num":47,"continue_top_num":13,"bottom_num":2,"zhuxian":["AI手机","军工","东数西算\\/算力","国产芯片"],"stock_day_top":"6天6板"},{"id":380,"date":"2024-03-04","sh_rate":0.41,"qingxu":"降温期","lbqingxu":"","long_name":"安奈儿","long_code":"002875","top_num":73,"continue_top_num":15,"bottom_num":4,"zhuxian":["东数西算\\/算力","医药","手机产业链","光通信"],"stock_day_top":"5天5板"},{"id":379,"date":"2024-03-01","sh_rate":0.39,"qingxu":"高潮期","lbqingxu":"","long_name":"东方精工","long_code":"002611","top_num":71,"continue_top_num":28,"bottom_num":3,"zhuxian":["氢能源\\/燃料电池","手机产业链","国产芯片","东数西算\\/算力"],"stock_day_top":"6天6板"},{"id":378,"date":"2024-02-29","sh_rate":1.94,"qingxu":"高潮期","lbqingxu":"","long_name":"东方精工","long_code":"002611","top_num":106,"continue_top_num":15,"bottom_num":1,"zhuxian":["氢能源\\/燃料电池","国产芯片","智能制造","手机产业链"],"stock_day_top":"5天5板"},{"id":377,"date":"2024-02-28","sh_rate":-1.91,"qingxu":"冰点期","lbqingxu":"","long_name":"华扬联众","long_code":"603825","top_num":31,"continue_top_num":13,"bottom_num":275,"zhuxian":["氢能源\\/燃料电池","智能制造","人造肉","东数西算\\/算力"],"stock_day_top":"16天9板"},{"id":376,"date":"2024-02-27","sh_rate":1.29,"qingxu":"高潮期","lbqingxu":"","long_name":"克来机电","long_code":"603960","top_num":97,"continue_top_num":33,"bottom_num":1,"zhuxian":["智能制造","新能源汽车","东数西算\\/算力","光通信"],"stock_day_top":"18天14板"},{"id":375,"date":"2024-02-26","sh_rate":-0.93,"qingxu":"高潮期","lbqingxu":"","long_name":"克来机电","long_code":"603960","top_num":106,"continue_top_num":34,"bottom_num":0,"zhuxian":["智能制造","新能源汽车","东数西算\\/算力","Sora AI视频"],"stock_day_top":"17天13板"},{"id":374,"date":"2024-02-23","sh_rate":0.55,"qingxu":"高潮期","lbqingxu":"","long_name":"克来机电","long_code":"603960","top_num":114,"continue_top_num":34,"bottom_num":0,"zhuxian":["智能制造","东数西算\\/算力","新能源汽车","Sora AI视频"],"stock_day_top":"16天12板"},{"id":373,"date":"2024-02-22","sh_rate":1.27,"qingxu":"高潮期","lbqingxu":"","long_name":"克来机电","long_code":"603960","top_num":78,"continue_top_num":20,"bottom_num":0,"zhuxian":["东数西算\\/算力","Sora AI视频","智能制造","光伏"],"stock_day_top":"15天11板"},{"id":372,"date":"2024-02-21","sh_rate":0.97,"qingxu":"高潮期","lbqingxu":"","long_name":"克来机电","long_code":"603960","top_num":131,"continue_top_num":22,"bottom_num":0,"zhuxian":["新能源汽车","房地产","智能制造","大消费"],"stock_day_top":"14天10板"},{"id":371,"date":"2024-02-20","sh_rate":0.42,"qingxu":"高潮期","lbqingxu":"","long_name":"克来机电","long_code":"603960","top_num":104,"continue_top_num":50,"bottom_num":0,"zhuxian":["Sora AI视频","医药","智能制造","房地产"],"stock_day_top":"13天9板"}],"date":"2024-04-17"}`;
const ZLEmotionJson = `{"list":[{"id":413,"date":"2024-04-22","long_code":"603017","long_name":"中衡设计","long_ban":4,"sh_rate":-0.67,"top_num":54,"continue_top_num":5,"qingxu":"退潮期","bottom_num":23},{"id":412,"date":"2024-04-19","long_code":"002835","long_name":"同为股份","long_ban":6,"sh_rate":-0.29,"top_num":56,"continue_top_num":8,"qingxu":"降温期","bottom_num":8},{"id":411,"date":"2024-04-18","long_code":"002835","long_name":"同为股份","long_ban":5,"sh_rate":0.09,"top_num":63,"continue_top_num":22,"qingxu":"升温期","bottom_num":3},{"id":410,"date":"2024-04-17","long_code":"002835","long_name":"同为股份","long_ban":4,"sh_rate":2.14,"top_num":235,"continue_top_num":9,"qingxu":"高潮期","bottom_num":0},{"id":409,"date":"2024-04-16","long_code":"002835","long_name":"同为股份","long_ban":3,"sh_rate":-1.65,"top_num":19,"continue_top_num":4,"qingxu":"冰点期","bottom_num":663},{"id":408,"date":"2024-04-15","long_code":"600984","long_name":"建设机械","long_ban":4,"sh_rate":1.26,"top_num":25,"continue_top_num":3,"qingxu":"冰点期","bottom_num":242},{"id":407,"date":"2024-04-12","long_code":"603900","long_name":"莱绅通灵","long_ban":9,"sh_rate":-0.49,"top_num":58,"continue_top_num":11,"qingxu":"修复期","bottom_num":9},{"id":406,"date":"2024-04-11","long_code":"603900","long_name":"莱绅通灵","long_ban":8,"sh_rate":0.23,"top_num":48,"continue_top_num":7,"qingxu":"冰点期","bottom_num":12},{"id":405,"date":"2024-04-10","long_code":"603900","long_name":"莱绅通灵","long_ban":7,"sh_rate":-0.7,"top_num":29,"continue_top_num":7,"qingxu":"冰点期","bottom_num":16},{"id":404,"date":"2024-04-09","long_code":"603900","long_name":"莱绅通灵","long_ban":6,"sh_rate":0.05,"top_num":60,"continue_top_num":5,"qingxu":"修复期","bottom_num":11},{"id":403,"date":"2024-04-08","long_code":"603900","long_name":"莱绅通灵","long_ban":5,"sh_rate":-0.72,"top_num":55,"continue_top_num":9,"qingxu":"冰点期","bottom_num":28},{"id":402,"date":"2024-04-03","long_code":"603006","long_name":"联明股份","long_ban":7,"sh_rate":-0.18,"top_num":47,"continue_top_num":15,"qingxu":"退潮期","bottom_num":9},{"id":401,"date":"2024-04-02","long_code":"605180","long_name":"华生科技","long_ban":9,"sh_rate":-0.08,"top_num":61,"continue_top_num":21,"qingxu":"降温期","bottom_num":6},{"id":400,"date":"2024-04-01","long_code":"605180","long_name":"华生科技","long_ban":8,"sh_rate":1.19,"top_num":79,"continue_top_num":18,"qingxu":"升温期","bottom_num":6},{"id":399,"date":"2024-03-29","long_code":"605180","long_name":"华生科技","long_ban":7,"sh_rate":1.01,"top_num":66,"continue_top_num":13,"qingxu":"降温期","bottom_num":7},{"id":398,"date":"2024-03-28","long_code":"600165","long_name":"宁科生物","long_ban":7,"sh_rate":0.59,"top_num":76,"continue_top_num":11,"qingxu":"高潮期","bottom_num":2},{"id":397,"date":"2024-03-27","long_code":"600165","long_name":"宁科生物","long_ban":6,"sh_rate":-1.26,"top_num":44,"continue_top_num":12,"qingxu":"冰点期","bottom_num":37},{"id":396,"date":"2024-03-26","long_code":"600165","long_name":"宁科生物","long_ban":5,"sh_rate":0.17,"top_num":61,"continue_top_num":15,"qingxu":"退潮期","bottom_num":11},{"id":395,"date":"2024-03-25","long_code":"600083","long_name":"博信股份","long_ban":7,"sh_rate":-0.71,"top_num":42,"continue_top_num":13,"qingxu":"退潮期","bottom_num":27},{"id":394,"date":"2024-03-22","long_code":"600083","long_name":"博信股份","long_ban":6,"sh_rate":-0.95,"top_num":59,"continue_top_num":16,"qingxu":"退潮期","bottom_num":10},{"id":393,"date":"2024-03-21","long_code":"603580","long_name":"艾艾精工","long_ban":13,"sh_rate":-0.08,"top_num":71,"continue_top_num":24,"qingxu":"高潮期","bottom_num":3},{"id":392,"date":"2024-03-20","long_code":"603580","long_name":"艾艾精工","long_ban":12,"sh_rate":0.55,"top_num":81,"continue_top_num":24,"qingxu":"升温期","bottom_num":0},{"id":391,"date":"2024-03-19","long_code":"603580","long_name":"艾艾精工","long_ban":11,"sh_rate":-0.72,"top_num":64,"continue_top_num":15,"qingxu":"降温期","bottom_num":0},{"id":390,"date":"2024-03-18","long_code":"603580","long_name":"艾艾精工","long_ban":10,"sh_rate":0.99,"top_num":85,"continue_top_num":20,"qingxu":"高潮期","bottom_num":1},{"id":389,"date":"2024-03-15","long_code":"603580","long_name":"艾艾精工","long_ban":9,"sh_rate":0.54,"top_num":71,"continue_top_num":18,"qingxu":"修复期","bottom_num":1},{"id":388,"date":"2024-03-14","long_code":"603580","long_name":"艾艾精工","long_ban":8,"sh_rate":-0.18,"top_num":41,"continue_top_num":8,"qingxu":"退潮期","bottom_num":2},{"id":387,"date":"2024-03-13","long_code":"603261","long_name":"立航科技","long_ban":7,"sh_rate":-0.4,"top_num":57,"continue_top_num":16,"qingxu":"退潮期","bottom_num":0},{"id":386,"date":"2024-03-12","long_code":"603261","long_name":"立航科技","long_ban":6,"sh_rate":-0.41,"top_num":75,"continue_top_num":18,"qingxu":"升温期","bottom_num":0},{"id":385,"date":"2024-03-11","long_code":"600207","long_name":"安彩高科","long_ban":5,"sh_rate":0.74,"top_num":84,"continue_top_num":20,"qingxu":"修复期","bottom_num":1},{"id":384,"date":"2024-03-08","long_code":"600207","long_name":"安彩高科","long_ban":4,"sh_rate":0.61,"top_num":63,"continue_top_num":13,"qingxu":"退潮期","bottom_num":2},{"id":383,"date":"2024-03-07","long_code":"600715","long_name":"文投控股","long_ban":5,"sh_rate":-0.41,"top_num":66,"continue_top_num":17,"qingxu":"退潮期","bottom_num":3},{"id":382,"date":"2024-03-06","long_code":"002875","long_name":"安奈儿","long_ban":7,"sh_rate":-0.26,"top_num":84,"continue_top_num":15,"qingxu":"修复期","bottom_num":0},{"id":381,"date":"2024-03-05","long_code":"002875","long_name":"安奈儿","long_ban":6,"sh_rate":0.28,"top_num":47,"continue_top_num":13,"qingxu":"退潮期","bottom_num":2},{"id":380,"date":"2024-03-04","long_code":"002875","long_name":"安奈儿","long_ban":5,"sh_rate":0.41,"top_num":73,"continue_top_num":15,"qingxu":"降温期","bottom_num":4},{"id":379,"date":"2024-03-01","long_code":"002611","long_name":"东方精工","long_ban":6,"sh_rate":0.39,"top_num":71,"continue_top_num":28,"qingxu":"高潮期","bottom_num":3},{"id":378,"date":"2024-02-29","long_code":"002611","long_name":"东方精工","long_ban":5,"sh_rate":1.94,"top_num":106,"continue_top_num":15,"qingxu":"高潮期","bottom_num":1},{"id":377,"date":"2024-02-28","long_code":"603825","long_name":"华扬联众","long_ban":8,"sh_rate":-1.91,"top_num":31,"continue_top_num":13,"qingxu":"冰点期","bottom_num":275},{"id":376,"date":"2024-02-27","long_code":"603960","long_name":"克来机电","long_ban":13,"sh_rate":1.29,"top_num":97,"continue_top_num":33,"qingxu":"高潮期","bottom_num":1},{"id":375,"date":"2024-02-26","long_code":"603960","long_name":"克来机电","long_ban":12,"sh_rate":-0.93,"top_num":106,"continue_top_num":34,"qingxu":"高潮期","bottom_num":0},{"id":374,"date":"2024-02-23","long_code":"603960","long_name":"克来机电","long_ban":11,"sh_rate":0.55,"top_num":114,"continue_top_num":34,"qingxu":"高潮期","bottom_num":0},{"id":373,"date":"2024-02-22","long_code":"603960","long_name":"克来机电","long_ban":10,"sh_rate":1.27,"top_num":78,"continue_top_num":20,"qingxu":"高潮期","bottom_num":0},{"id":372,"date":"2024-02-21","long_code":"603960","long_name":"克来机电","long_ban":9,"sh_rate":0.97,"top_num":131,"continue_top_num":22,"qingxu":"高潮期","bottom_num":0},{"id":371,"date":"2024-02-20","long_code":"603960","long_name":"克来机电","long_ban":8,"sh_rate":0.42,"top_num":104,"continue_top_num":50,"qingxu":"高潮期","bottom_num":0},{"id":370,"date":"2024-02-19","long_code":"603960","long_name":"克来机电","long_ban":7,"sh_rate":1.56,"top_num":237,"continue_top_num":73,"qingxu":"高潮期","bottom_num":0},{"id":369,"date":"2024-02-08","long_code":"603960","long_name":"克来机电","long_ban":6,"sh_rate":1.28,"top_num":505,"continue_top_num":19,"qingxu":"高潮期","bottom_num":2},{"id":368,"date":"2024-02-07","long_code":"603960","long_name":"克来机电","long_ban":5,"sh_rate":1.44,"top_num":93,"continue_top_num":33,"qingxu":"降温期","bottom_num":243},{"id":367,"date":"2024-02-06","long_code":"000972","long_name":"中基健康","long_ban":5,"sh_rate":3.23,"top_num":135,"continue_top_num":6,"qingxu":"高潮期","bottom_num":86},{"id":366,"date":"2024-02-05","long_code":"000972","long_name":"中基健康","long_ban":4,"sh_rate":-1.02,"top_num":17,"continue_top_num":4,"qingxu":"冰点期","bottom_num":1274},{"id":365,"date":"2024-02-02","long_code":"603767","long_name":"中马传动","long_ban":4,"sh_rate":-1.46,"top_num":26,"continue_top_num":6,"qingxu":"冰点期","bottom_num":47},{"id":364,"date":"2024-02-01","long_code":"600088","long_name":"中视传媒","long_ban":8,"sh_rate":-0.64,"top_num":30,"continue_top_num":6,"qingxu":"冰点期","bottom_num":46},{"id":363,"date":"2024-01-31","long_code":"600088","long_name":"中视传媒","long_ban":7,"sh_rate":-1.48,"top_num":27,"continue_top_num":5,"qingxu":"冰点期","bottom_num":127},{"id":362,"date":"2024-01-30","long_code":"600088","long_name":"中视传媒","long_ban":6,"sh_rate":-1.83,"top_num":22,"continue_top_num":5,"qingxu":"冰点期","bottom_num":63},{"id":361,"date":"2024-01-29","long_code":"600088","long_name":"中视传媒","long_ban":5,"sh_rate":-0.92,"top_num":28,"continue_top_num":11,"qingxu":"冰点期","bottom_num":55},{"id":360,"date":"2024-01-26","long_code":"000070","long_name":"特发信息","long_ban":5,"sh_rate":0.14,"top_num":60,"continue_top_num":27,"qingxu":"降温期","bottom_num":7},{"id":358,"date":"2024-01-24","long_code":"603958","long_name":"哈森股份","long_ban":7,"sh_rate":1.8,"top_num":74,"continue_top_num":19,"qingxu":"高潮期","bottom_num":3},{"id":357,"date":"2024-01-23","long_code":"000017","long_name":"深中华A","long_ban":11,"sh_rate":0.53,"top_num":44,"continue_top_num":7,"qingxu":"修复期","bottom_num":26},{"id":356,"date":"2024-01-22","long_code":"000017","long_name":"深中华A","long_ban":10,"sh_rate":-2.68,"top_num":17,"continue_top_num":6,"qingxu":"冰点期","bottom_num":71},{"id":355,"date":"2024-01-19","long_code":"000017","long_name":"深中华A","long_ban":9,"sh_rate":-0.47,"top_num":40,"continue_top_num":11,"qingxu":"退潮期","bottom_num":23},{"id":354,"date":"2024-01-18","long_code":"000017","long_name":"深中华A","long_ban":8,"sh_rate":0.43,"top_num":38,"continue_top_num":12,"qingxu":"修复期","bottom_num":8},{"id":353,"date":"2024-01-17","long_code":"000017","long_name":"深中华A","long_ban":7,"sh_rate":-2.09,"top_num":33,"continue_top_num":10,"qingxu":"退潮期","bottom_num":8},{"id":352,"date":"2024-01-16","long_code":"000017","long_name":"深中华A","long_ban":6,"sh_rate":0.27,"top_num":32,"continue_top_num":9,"qingxu":"退潮期","bottom_num":3},{"id":351,"date":"2024-01-15","long_code":"000017","long_name":"深中华A","long_ban":5,"sh_rate":0.15,"top_num":36,"continue_top_num":9,"qingxu":"修复期","bottom_num":4},{"id":350,"date":"2024-01-12","long_code":"002641","long_name":"公元股份","long_ban":4,"sh_rate":-0.16,"top_num":26,"continue_top_num":10,"qingxu":"冰点期","bottom_num":4},{"id":349,"date":"2024-01-11","long_code":"000715","long_name":"中兴商业","long_ban":4,"sh_rate":0.31,"top_num":56,"continue_top_num":12,"qingxu":"升温期","bottom_num":0},{"id":348,"date":"2024-01-10","long_code":"603099","long_name":"长白山","long_ban":7,"sh_rate":-0.54,"top_num":38,"continue_top_num":12,"qingxu":"退潮期","bottom_num":11},{"id":347,"date":"2024-01-09","long_code":"603099","long_name":"长白山","long_ban":6,"sh_rate":0.2,"top_num":44,"continue_top_num":6,"qingxu":"升温期","bottom_num":6},{"id":346,"date":"2024-01-08","long_code":"603099","long_name":"长白山","long_ban":5,"sh_rate":-1.42,"top_num":33,"continue_top_num":10,"qingxu":"修复期","bottom_num":11},{"id":345,"date":"2024-01-05","long_code":"603099","long_name":"长白山","long_ban":4,"sh_rate":-0.85,"top_num":24,"continue_top_num":8,"qingxu":"冰点期","bottom_num":8},{"id":344,"date":"2024-01-04","long_code":"605167","long_name":"利柏特","long_ban":4,"sh_rate":-0.43,"top_num":39,"continue_top_num":10,"qingxu":"退潮期","bottom_num":8},{"id":343,"date":"2024-01-03","long_code":"603530","long_name":"神马电力","long_ban":5,"sh_rate":0.17,"top_num":36,"continue_top_num":15,"qingxu":"退潮期","bottom_num":8},{"id":342,"date":"2024-01-02","long_code":"002952","long_name":"亚世光电","long_ban":9,"sh_rate":-0.43,"top_num":52,"continue_top_num":15,"qingxu":"降温期","bottom_num":1},{"id":341,"date":"2023-12-29","long_code":"002952","long_name":"亚世光电","long_ban":8,"sh_rate":0.68,"top_num":62,"continue_top_num":21,"qingxu":"高潮期","bottom_num":1},{"id":340,"date":"2023-12-28","long_code":"002952","long_name":"亚世光电","long_ban":7,"sh_rate":1.38,"top_num":58,"continue_top_num":10,"qingxu":"高潮期","bottom_num":8},{"id":339,"date":"2023-12-27","long_code":"002952","long_name":"亚世光电","long_ban":6,"sh_rate":0.54,"top_num":29,"continue_top_num":7,"qingxu":"退潮期","bottom_num":17},{"id":338,"date":"2023-12-26","long_code":"002952","long_name":"亚世光电","long_ban":5,"sh_rate":-0.68,"top_num":37,"continue_top_num":11,"qingxu":"升温期","bottom_num":9},{"id":337,"date":"2023-12-25","long_code":"002952","long_name":"亚世光电","long_ban":4,"sh_rate":0.14,"top_num":33,"continue_top_num":7,"qingxu":"修复期","bottom_num":22},{"id":336,"date":"2023-12-22","long_code":"001239","long_name":"永达股份","long_ban":4,"sh_rate":-0.13,"top_num":20,"continue_top_num":8,"qingxu":"冰点期","bottom_num":50},{"id":335,"date":"2023-12-21","long_code":"603789","long_name":"星光农机","long_ban":5,"sh_rate":0.57,"top_num":36,"continue_top_num":9,"qingxu":"修复期","bottom_num":4},{"id":334,"date":"2023-12-20","long_code":"603789","long_name":"星光农机","long_ban":4,"sh_rate":-1.03,"top_num":31,"continue_top_num":10,"qingxu":"修复期","bottom_num":9},{"id":333,"date":"2023-12-19","long_code":"002862","long_name":"实丰文化","long_ban":4,"sh_rate":0.05,"top_num":26,"continue_top_num":8,"qingxu":"冰点期","bottom_num":13},{"id":332,"date":"2023-12-18","long_code":"600630","long_name":"龙头股份","long_ban":3,"sh_rate":-0.4,"top_num":36,"continue_top_num":10,"qingxu":"退潮期","bottom_num":12},{"id":331,"date":"2023-12-15","long_code":"600712","long_name":"南宁百货","long_ban":5,"sh_rate":-0.56,"top_num":44,"continue_top_num":15,"qingxu":"升温期","bottom_num":3},{"id":330,"date":"2023-12-14","long_code":"603660","long_name":"苏州科达","long_ban":6,"sh_rate":-0.33,"top_num":39,"continue_top_num":13,"qingxu":"修复期","bottom_num":9},{"id":329,"date":"2023-12-13","long_code":"600715","long_name":"文投控股","long_ban":6,"sh_rate":-1.15,"top_num":36,"continue_top_num":13,"qingxu":"降温期","bottom_num":1},{"id":327,"date":"2023-12-12","long_code":"600715","long_name":"文投控股","long_ban":5,"sh_rate":0.4,"top_num":43,"continue_top_num":10,"qingxu":"升温期","bottom_num":1},{"id":326,"date":"2023-12-11","long_code":"600715","long_name":"文投控股","long_ban":4,"sh_rate":0.74,"top_num":39,"continue_top_num":6,"qingxu":"修复期","bottom_num":1},{"id":325,"date":"2023-12-08","long_code":"600715","long_name":"文投控股","long_ban":3,"sh_rate":0.11,"top_num":33,"continue_top_num":9,"qingxu":"退潮期","bottom_num":13},{"id":324,"date":"2023-12-07","long_code":"600571","long_name":"信雅达","long_ban":6,"sh_rate":-0.09,"top_num":39,"continue_top_num":15,"qingxu":"退潮期","bottom_num":16},{"id":323,"date":"2023-12-06","long_code":"600250","long_name":"南京商旅","long_ban":7,"sh_rate":-0.11,"top_num":38,"continue_top_num":10,"qingxu":"退潮期","bottom_num":6},{"id":322,"date":"2023-12-05","long_code":"600178","long_name":"东安动力","long_ban":9,"sh_rate":-1.67,"top_num":39,"continue_top_num":15,"qingxu":"降温期","bottom_num":2},{"id":321,"date":"2023-12-04","long_code":"600178","long_name":"东安动力","long_ban":8,"sh_rate":-0.29,"top_num":54,"continue_top_num":17,"qingxu":"升温期","bottom_num":2},{"id":320,"date":"2023-12-01","long_code":"600178","long_name":"东安动力","long_ban":7,"sh_rate":0.06,"top_num":50,"continue_top_num":10,"qingxu":"修复期","bottom_num":2},{"id":319,"date":"2023-11-30","long_code":"600178","long_name":"东安动力","long_ban":6,"sh_rate":0.26,"top_num":27,"continue_top_num":7,"qingxu":"冰点期","bottom_num":1},{"id":318,"date":"2023-11-29","long_code":"600178","long_name":"东安动力","long_ban":5,"sh_rate":-0.56,"top_num":30,"continue_top_num":9,"qingxu":"退潮期","bottom_num":8},{"id":317,"date":"2023-11-28","long_code":"600178","long_name":"东安动力","long_ban":4,"sh_rate":0.23,"top_num":38,"continue_top_num":9,"qingxu":"升温期","bottom_num":11},{"id":316,"date":"2023-11-27","long_code":"605218","long_name":"伟时电子","long_ban":5,"sh_rate":-0.3,"top_num":35,"continue_top_num":8,"qingxu":"修复期","bottom_num":19},{"id":315,"date":"2023-11-24","long_code":"600053","long_name":"九鼎投资","long_ban":4,"sh_rate":-0.68,"top_num":31,"continue_top_num":12,"qingxu":"退潮期","bottom_num":12},{"id":314,"date":"2023-11-23","long_code":"603598","long_name":"引力传媒","long_ban":6,"sh_rate":0.6,"top_num":39,"continue_top_num":10,"qingxu":"退潮期","bottom_num":15},{"id":313,"date":"2023-11-22","long_code":"001300","long_name":"三柏硕","long_ban":9,"sh_rate":-0.79,"top_num":50,"continue_top_num":21,"qingxu":"高潮期","bottom_num":8},{"id":312,"date":"2023-11-21","long_code":"001300","long_name":"三柏硕","long_ban":8,"sh_rate":-0.01,"top_num":52,"continue_top_num":22,"qingxu":"高潮期","bottom_num":1},{"id":311,"date":"2023-11-20","long_code":"002584","long_name":"西陇科学","long_ban":4,"sh_rate":0.46,"top_num":59,"continue_top_num":17,"qingxu":"升温期","bottom_num":0},{"id":310,"date":"2023-11-17","long_code":"002584","long_name":"西陇科学","long_ban":3,"sh_rate":0.11,"top_num":44,"continue_top_num":14,"qingxu":"修复期","bottom_num":1},{"id":309,"date":"2023-11-16","long_code":"002786","long_name":"银宝山新","long_ban":5,"sh_rate":-0.71,"top_num":32,"continue_top_num":9,"qingxu":"退潮期","bottom_num":4},{"id":308,"date":"2023-11-15","long_code":"000056","long_name":"皇庭国际","long_ban":7,"sh_rate":0.55,"top_num":57,"continue_top_num":16,"qingxu":"升温期","bottom_num":0},{"id":307,"date":"2023-11-14","long_code":"000056","long_name":"皇庭国际","long_ban":6,"sh_rate":0.31,"top_num":38,"continue_top_num":11,"qingxu":"修复期","bottom_num":1},{"id":306,"date":"2023-11-13","long_code":"000056","long_name":"皇庭国际","long_ban":5,"sh_rate":0.25,"top_num":40,"continue_top_num":10,"qingxu":"修复期","bottom_num":3},{"id":305,"date":"2023-11-10","long_code":"002238","long_name":"天威视讯","long_ban":7,"sh_rate":-0.47,"top_num":33,"continue_top_num":9,"qingxu":"退潮期","bottom_num":14},{"id":304,"date":"2023-11-09","long_code":"002238","long_name":"天威视讯","long_ban":6,"sh_rate":0.03,"top_num":31,"continue_top_num":11,"qingxu":"退潮期","bottom_num":19},{"id":303,"date":"2023-11-08","long_code":"603390","long_name":"通达电气","long_ban":6,"sh_rate":-0.16,"top_num":53,"continue_top_num":19,"qingxu":"降温期","bottom_num":3},{"id":302,"date":"2023-11-07","long_code":"603266","long_name":"天龙股份","long_ban":10,"sh_rate":-0.04,"top_num":54,"continue_top_num":20,"qingxu":"高潮期","bottom_num":0},{"id":301,"date":"2023-11-06","long_code":"603266","long_name":"天龙股份","long_ban":9,"sh_rate":0.91,"top_num":60,"continue_top_num":9,"qingxu":"升温期","bottom_num":1},{"id":300,"date":"2023-11-03","long_code":"603266","long_name":"天龙股份","long_ban":8,"sh_rate":0.71,"top_num":40,"continue_top_num":6,"qingxu":"修复期","bottom_num":2},{"id":299,"date":"2023-11-02","long_code":"000628","long_name":"高新发展","long_ban":11,"sh_rate":-0.45,"top_num":29,"continue_top_num":9,"qingxu":"退潮期","bottom_num":3},{"id":298,"date":"2023-11-01","long_code":"000628","long_name":"高新发展","long_ban":10,"sh_rate":0.14,"top_num":37,"continue_top_num":8,"qingxu":"退潮期","bottom_num":5},{"id":297,"date":"2023-10-31","long_code":"000628","long_name":"高新发展","long_ban":9,"sh_rate":-0.09,"top_num":37,"continue_top_num":10,"qingxu":"退潮期","bottom_num":11},{"id":296,"date":"2023-10-30","long_code":"000628","long_name":"高新发展","long_ban":8,"sh_rate":0.12,"top_num":67,"continue_top_num":11,"qingxu":"降温期","bottom_num":7},{"id":295,"date":"2023-10-27","long_code":"002682","long_name":"龙洲股份","long_ban":6,"sh_rate":0.99,"top_num":75,"continue_top_num":16,"qingxu":"高潮期","bottom_num":2},{"id":294,"date":"2023-10-26","long_code":"002771","long_name":"真视通","long_ban":9,"sh_rate":0.48,"top_num":42,"continue_top_num":17,"qingxu":"降温期","bottom_num":5},{"id":293,"date":"2023-10-25","long_code":"603178","long_name":"圣龙股份","long_ban":14,"sh_rate":0.4,"top_num":64,"continue_top_num":17,"qingxu":"高潮期","bottom_num":2},{"id":292,"date":"2023-10-24","long_code":"603178","long_name":"圣龙股份","long_ban":13,"sh_rate":0.78,"top_num":63,"continue_top_num":10,"qingxu":"升温期","bottom_num":3}]}`;
const abnormalMovementJson = `{"data1":{"code":20000,"message":"OK","data":{"candle":{"000001.SS":{"lines":[[1713749400,3059.0649],[1713749460,3068.163],[1713749520,3066.9199],[1713749580,3065.209],[1713749640,3062.375],[1713749700,3060.7728],[1713749760,3058.9135],[1713749820,3059.1022],[1713749880,3061.2464],[1713749940,3065.284],[1713750000,3063.683],[1713750060,3065.6013],[1713750120,3067.2116],[1713750180,3066.4451],[1713750240,3065.9233],[1713750300,3062.3565],[1713750360,3062.3641],[1713750420,3065.1565],[1713750480,3063.1261],[1713750540,3064.5557],[1713750600,3066.1472],[1713750660,3066.9635],[1713750720,3064.8503],[1713750780,3064.249],[1713750840,3062.1256],[1713750900,3063.1781],[1713750960,3065.841],[1713751020,3067.2971],[1713751080,3068.4437],[1713751140,3068.8947],[1713751200,3074.0893],[1713751260,3073.5625],[1713751320,3074.2315],[1713751380,3074.1078],[1713751440,3072.0579],[1713751500,3073.3275],[1713751560,3070.5472],[1713751620,3069.8697],[1713751680,3070.9732],[1713751740,3071.6055],[1713751800,3069.5243],[1713751860,3068.1988],[1713751920,3069.0894],[1713751980,3068.1116],[1713752040,3066.7895],[1713752100,3064.71],[1713752160,3066.2973],[1713752220,3068.2693],[1713752280,3068.5907],[1713752340,3069.0707],[1713752400,3070.6436],[1713752460,3070.7463],[1713752520,3071.7156],[1713752580,3069.1823],[1713752640,3069.2133],[1713752700,3069.3766],[1713752760,3071.775],[1713752820,3071.9206],[1713752880,3071.7501],[1713752940,3071.3006],[1713753000,3072.5067],[1713753060,3070.9018],[1713753120,3070.9453],[1713753180,3068.7007],[1713753240,3069.3473],[1713753300,3068.9042],[1713753360,3070.4085],[1713753420,3069.4688],[1713753480,3069.5765],[1713753540,3068.8663],[1713753600,3068.3571],[1713753660,3067.3307],[1713753720,3066.4192],[1713753780,3066.3103],[1713753840,3066.0087],[1713753900,3064.251],[1713753960,3063.8672],[1713754020,3063.7038],[1713754080,3062.7068],[1713754140,3062.5214],[1713754200,3060.5167],[1713754260,3062.2319],[1713754320,3062.7834],[1713754380,3062.905],[1713754440,3062.3433],[1713754500,3062.6695],[1713754560,3061.4819],[1713754620,3061.2406],[1713754680,3061.9896],[1713754740,3061.7291],[1713754800,3061.4163],[1713754860,3061.6225],[1713754920,3060.6099],[1713754980,3060.8317],[1713755040,3061.6251],[1713755100,3059.6696],[1713755160,3059.2005],[1713755220,3058.5342],[1713755280,3058.6039],[1713755340,3055.2196],[1713755400,3054.7518],[1713755460,3054.4637],[1713755520,3053.5302],[1713755580,3052.8596],[1713755640,3053.8081],[1713755700,3053.9795],[1713755760,3054.1945],[1713755820,3053.8171],[1713755880,3051.3745],[1713755940,3051.069],[1713756000,3051.0107],[1713756060,3048.3202],[1713756120,3048.1395],[1713756180,3049.9787],[1713756240,3053.0189],[1713756300,3053.4871],[1713756360,3052.721],[1713756420,3051.7698],[1713756480,3050.0379],[1713756540,3050.3976],[1713756600,3050.8865],[1713762060,3049.9824],[1713762120,3051.4843],[1713762180,3053.4239],[1713762240,3050.008],[1713762300,3048.9717],[1713762360,3049.2065],[1713762420,3052.3114],[1713762480,3050.2202],[1713762540,3050.0259],[1713762600,3049.7601],[1713762660,3051.4561],[1713762720,3052.4386],[1713762780,3052.4373],[1713762840,3052.7515],[1713762900,3051.8595],[1713762960,3050.8511],[1713763020,3050.6527],[1713763080,3049.7384],[1713763140,3049.7459],[1713763200,3048.256],[1713763260,3046.6389],[1713763320,3046.0708],[1713763380,3050.5012],[1713763440,3049.4752],[1713763500,3049.2645],[1713763560,3049.7973],[1713763620,3049.91],[1713763680,3051.0638],[1713763740,3048.9852],[1713763800,3047.6625],[1713763860,3047.371],[1713763920,3047.4767],[1713763980,3047.2648],[1713764040,3048.9544],[1713764100,3048.8572],[1713764160,3048.7722],[1713764220,3049.486],[1713764280,3048.0987],[1713764340,3047.6855],[1713764400,3047.7025],[1713764460,3047.3646],[1713764520,3045.2564],[1713764580,3046.1416],[1713764640,3047.537],[1713764700,3048.6616],[1713764760,3049.6544],[1713764820,3048.6305],[1713764880,3049.2914],[1713764940,3052.0585],[1713765000,3052.3643],[1713765060,3054.2263],[1713765120,3055.2258],[1713765180,3055.5936],[1713765240,3054.4941],[1713765300,3054.8861],[1713765360,3054.5756],[1713765420,3055.1284],[1713765480,3054.2189],[1713765540,3053.7285],[1713765600,3054.2576],[1713765660,3055.0058],[1713765720,3057.1956],[1713765780,3058.8415],[1713765840,3058.3131],[1713765900,3056.8162],[1713765960,3056.4517],[1713766020,3053.7452],[1713766080,3053.2008],[1713766140,3052.6498],[1713766200,3053.023],[1713766260,3051.2686],[1713766320,3050.5133],[1713766380,3051.7087],[1713766440,3051.4796],[1713766500,3051.1741],[1713766560,3051.9159],[1713766620,3053.8675],[1713766680,3053.6573],[1713766740,3054.2944],[1713766800,3055.257],[1713766860,3053.9548],[1713766920,3052.582],[1713766980,3052.0886],[1713767040,3050.8747],[1713767100,3049.9099],[1713767160,3049.4197],[1713767220,3049.9182],[1713767280,3048.8138],[1713767340,3046.1829],[1713767400,3046.1856],[1713767460,3045.3333],[1713767520,3044.0253],[1713767580,3043.2371],[1713767640,3044.4845],[1713767700,3043.0449],[1713767760,3042.8997],[1713767820,3043.0343],[1713767880,3042.8135],[1713767940,3042.9608],[1713768000,3043.2695],[1713768060,3046.1318],[1713768120,3045.6996],[1713768180,3045.1789],[1713768240,3045.3153],[1713768300,3046.0602],[1713768360,3046.8085],[1713768420,3047.4053],[1713768480,3045.8513],[1713768540,3044.7617],[1713768600,3045.4694],[1713768660,3044.886],[1713768720,3044.2611],[1713768780,3043.927],[1713768840,3043.8015],[1713768900,3043.6664],[1713768960,3044.5071],[1713769020,3045.0617],[1713769080,3045.0058],[1713769140,3045.0058],[1713769200,3044.5952]],"market_close":0,"market_open":0,"market_type":"mdc","midday_break":0,"pre_close_px":3065.261,"securities_type":"index","sub_type":"","total":241}},"fields":["tick_at","close_px"]}},"data2":{"Messages":[{"Id":"1120724","Title":"半导体芯片股震荡走高，南芯科技、裕太微、艾为电子涨超10%，纳芯微、雷电微力、成都华微涨逾7%","BkYiDongType":1,"BkjInfo":{"Id":"16844702","Name":"半导体"},"CreatedAt":1713765729,"UpdatedAt":1713765730},{"Id":"1120718","Title":"旅游板块探底回升，张家界午后涨停，金马游乐涨超10%，大连圣亚、华天酒店、西安旅游、西安饮食等纷纷冲高","BkYiDongType":1,"BkjInfo":{"Id":"19993841","Name":"旅游"},"CreatedAt":1713764089,"UpdatedAt":1713766315},{"Id":"1120711","Title":"次新股午后逆势走强，平安电工、西典新能双双涨停，骏鼎达、民爆光电、中创股份、中瑞股份、上海汽配、金帝股份等跟涨","BkYiDongType":1,"BkjInfo":{"Id":"17864537","Name":"次新股"},"CreatedAt":1713763010,"UpdatedAt":1713764111},{"Id":"1120709","Title":"中字头个股震荡走弱，中公高科此前跌停，中信海直、中视传媒、中国科传、中成股份、中煤能源、中材节能等跌幅居前","BkYiDongType":-1,"BkjInfo":{"Id":"27292178","Name":"中字头"},"CreatedAt":1713762465,"UpdatedAt":1713762466},{"Id":"1120695","Title":"房地产板块震荡走弱，中迪投资逼近跌停，招商蛇口、卧龙地产跌超5%，大名城、大龙地产、滨江集团等跟跌","BkYiDongType":-1,"BkjInfo":{"Id":"17236249","Name":"房地产"},"CreatedAt":1713756304,"UpdatedAt":1713756305},{"Id":"1120692","Title":"燃气股震荡走低，首华燃气跌超9%，美能能源、蓝焰控股、德龙汇能、洪通燃气、水发燃气等跟跌","BkYiDongType":-1,"BkjInfo":{"Id":"18926110","Name":"天然气"},"CreatedAt":1713755678,"UpdatedAt":1713755679},{"Id":"1120684","Title":"磷化工板块探底回升，川恒股份涨超8%，川金诺涨逾5%，湖北宜化、中毅达、云图控股等跟涨","BkYiDongType":1,"BkjInfo":{"Id":"16892729","Name":"磷化工"},"CreatedAt":1713753583,"UpdatedAt":1713753584},{"Id":"1120677","Title":"煤炭板块震荡走弱，大有能源跌近7%，潞安环能、平煤股份、安泰集团、淮北矿业、安源煤业等跟跌","BkYiDongType":-1,"BkjInfo":{"Id":"16841938","Name":"煤炭"},"CreatedAt":1713752903,"UpdatedAt":1713752904},{"Id":"1120672","Title":"医药医疗股震荡反弹，同和药业、万孚生物涨超10%，亚辉龙、三诺生物、祥生医疗、贝达药业、翰宇药业、艾迪药业等多股涨超5%","BkYiDongType":1,"BkjInfo":{"Id":"25638417","Name":"医药"},"CreatedAt":1713752114,"UpdatedAt":1713752739},{"Id":"1120671","Title":"光伏设备板块异动拉升，京山轻机触及涨停，隆基绿能涨超6%，德业股份、晶澳科技、阿特斯、福莱特等跟涨","BkYiDongType":1,"BkjInfo":{"Id":"21825682","Name":"光伏"},"CreatedAt":1713751901,"UpdatedAt":1713752145},{"Id":"1120668","Title":"军工板块全线拉升，中船应急、捷安高科、观想科技、高凌信息、广哈通信、高盟新材均20cm涨停，七一二、中兵红箭、烽火电子、航天长峰等十余股封板，晨曦航空、天和防务、安达维尔等多股涨超10%，消息上，中国人民解放军信息支援部队成立大会19日隆重举行，国防部新闻发言人吴谦大校表示，信息支援部队是全新打造的战略性兵种，是统筹网络信息体系建设运用的关键支撑，在推动我军高质量发展和打赢现代战争中地位重要、责任重大","BkYiDongType":1,"BkjInfo":{"Id":"25513273","Name":"军工"},"CreatedAt":1713751571,"UpdatedAt":1713754776},{"Id":"1120662","Title":"养殖板块异动拉升，立华股份涨近8%，华统股份、巨星农牧、益生股份、唐人神、温氏股份等跟涨","BkYiDongType":1,"BkjInfo":{"Id":"16950418","Name":"养猪"},"CreatedAt":1713750934,"UpdatedAt":1713750934},{"Id":"1120661","Title":"白酒股震荡走强，金徽酒涨停，迎驾贡酒、水井坊、古井贡酒、泸州老窖涨幅靠前","BkYiDongType":1,"BkjInfo":{"Id":"16961441","Name":"白酒"},"CreatedAt":1713750866,"UpdatedAt":1713750866},{"Id":"1120660","Title":"卫星导航概念探底回升，陕西华达大涨16%，全信股份、华体科技、雷电微力、天银机电、中国卫通等跟涨","BkYiDongType":1,"BkjInfo":{"Id":"62419870","Name":"卫星互联网"},"CreatedAt":1713750775,"UpdatedAt":1713750776},{"Id":"1120659","Title":"黄金股震荡走低，莱绅通灵跌停，曼卡龙、萃华珠宝、晓程科技、四川黄金、明牌珠宝等多股跌超5%","BkYiDongType":-1,"BkjInfo":{"Id":"16843401","Name":"黄金"},"CreatedAt":1713750595,"UpdatedAt":1713750595},{"Id":"1120656","Title":"中船系个股异动拉升，中船应急涨超15%，中船汉光、中国海防、久之洋、中国重工等跟涨","BkYiDongType":1,"BkjInfo":{"Id":"25513273","Name":"军工"},"CreatedAt":1713750410,"UpdatedAt":1713750439},{"Id":"1120655","Title":"油气股震荡走低，仁智股份跌停，海默科技跌超10%，潜能恒信、中曼石油、准油股份、博迈科、通源石油等跌超5%","BkYiDongType":-1,"BkjInfo":{"Id":"1237390","Name":"油服"},"CreatedAt":1713750388,"UpdatedAt":1713750388},{"Id":"1120653","Title":"核电板块异动拉升，中核科技直线涨停，捷强装备、中广核技、中国核建、宝色股份、中国广核等快速跟涨，消息面上，中核集团宣布，我国实现碳14同位素国产化，本次碳-14靶件完成出堆后，经后端处理后将于今年年底开始向市场供货","BkYiDongType":1,"BkjInfo":{"Id":"17023182","Name":"核电"},"CreatedAt":1713750231,"UpdatedAt":1713750254},{"Id":"1120650","Title":"低空经济概念盘初走低，万丰奥威、设计总院跌停，双一科技、建新股份、苏交科、交控科技、莱斯信息跌超10%","BkYiDongType":-1,"BkjInfo":{"Id":"90434033","Name":"低空经济"},"CreatedAt":1713749763,"UpdatedAt":1713749780},{"Id":"1120649","Title":"有色板块继续走强，华锡有色2连板，翔鹭钨业、锡业股份、东方锆业、丰华股份、洛阳钼业等跟涨","BkYiDongType":1,"BkjInfo":{"Id":"23460626","Name":"有色金属"},"CreatedAt":1713749650,"UpdatedAt":1713749665},{"Id":"1120646","Title":"AI概念大面积低开，算力、CPO方向领跌，紫天科技竞价20CM跌停，高新发展连续三日一字跌停，天孚通信低开超10%，新易盛、中际旭创、工业富联等低开超7%，消息面上，超微电脑股价上周五下跌23%，拖累其大客户英伟达股价重挫10%，市值一夜蒸发逾2000亿美元","BkYiDongType":-1,"BkjInfo":{"Id":"84363673","Name":"光电共封装CPO"},"CreatedAt":1713749400,"UpdatedAt":1713749544},{"Id":"1120644","Title":"军工板块盘初活跃，观想科技、七一二、四创电子、中兵红箭涨停，烽火电子、安达维尔、利君股份等高开","BkYiDongType":1,"BkjInfo":{"Id":"25513273","Name":"军工"},"CreatedAt":1713749400,"UpdatedAt":1713749400}],"NextHeadMark":"1120724"}}`;

const dataSource = ref({
  emotion: {
    data: JSON.parse(emotionJson),
  },
  ZLEmotion: {
    data: JSON.parse(ZLEmotionJson),
  },
  abnormalMovement: {
    data: JSON.parse(abnormalMovementJson),
  },
});
const emotionChartRef = ref<InstanceType<typeof EmotionChart>>();
const zLEmotionChartRef = ref<InstanceType<typeof ZLEmotionChart>>();
const abnormalMovementChartRef = ref<InstanceType<typeof AbnormalMovementChart>>();
</script>

<style lang="less" scoped>
.project-card {
  margin-right: -6px;

& -item {
    margin: -1px;
    width: 33.333333%;
  }
}
</style>
